package com.ruoyi.common.base.chat.dto;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 记录重新生成的回答
 *
 * @author gdk
 * @date 2023-05-15
 */
@Data
public class ChatMessageRetryDTO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @NotNull
    private Long id;

    /**
     * 模型
     */
    @NotBlank
    private String model;

    /**
     * AI回复内容
     */
    @NotBlank
    private String reply;
}
